Part Number Hot Search : 
1004P 144IR 74HC5 2SC4463 MC68B50 P5NA80 MAX114 KBP103G
Product Description
Full Text Search
 

To Download M25PE80-VMN6P Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  january 2007 rev 6 1/61 1 m25pe80 8 mbit, low-voltage, page-erasa ble serial flash memory with byte alterability, 50 mhz spi bus, standard pinout features spi bus compatible serial interface 8-mbit page-erasable flash memory page size: 256 bytes ? page write in 11 ms (typical) ? page program in 0.8 ms (typical) ? page erase in 10 ms (typical) subsector erase (4 kbytes) sector erase (64 kbytes) bulk erase (8 mbits) 2.7 v to 3.6 v single supply voltage 50 mhz clock rate (maximum) deep power-down mode 1 a (typical) electronic signature ? jedec standard two-byte signature (8014h) software write protection on a 64 kbyte sector basis hardware write protection of the memory area selected using the bp0, bp1 and bp2 bits more than 100 000 write cycles more than 20 year data retention packages ? ecopack? (rohs compliant) vfqfpn8 (mp) 6 x 5mm (mlp8) so8w (mw) 208 mils width so8n (mn) 150 mils width
contents m25pe80 2/61 contents 1 description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 important note . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 signal description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.1 serial data output (q) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2 serial data input (d) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.3 serial clock (c) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.4 chip select (s ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.5 reset (reset ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 2.6 write protect (w ) or top sector lock (tsl ) . . . . . . . . . . . . . . . . . . . . . . . . 9 2.7 v cc supply voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.8 v ss ground . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3 spi modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 4 operating features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.1 sharing the overhead of modifying data . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.2 an easy way to modify data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 4.3 a fast way to modify data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.4 polling during a write, program or erase cycle . . . . . . . . . . . . . . . . . . . . 13 4.5 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 4.6 active power, standby power and deep power-down modes . . . . . . . . . 13 4.7 status register . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.8 protection modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.8.1 protocol-related protections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 4.8.2 specific hardware and software protections . . . . . . . . . . . . . . . . . . . . . 15 5 memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 6 instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 6.1 write enable (wren) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 6.2 write disable (wrdi) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 6.3 read identification (rdid) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
m25pe80 contents 3/61 6.4 read status register (rdsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.4.1 wip bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.4.2 wel bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.4.3 bp2, bp1, bp0 bits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.4.4 srwd bit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 6.5 write status register (wrsr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 6.6 read data bytes (read) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 6.7 read data bytes at higher speed (fast_read) . . . . . . . . . . . . . . . . . . 29 6.8 read lock register (rdlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 6.9 page write (pw) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 6.10 page program (pp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 6.11 write to lock register (wrlr) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 6.12 page erase (pe) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 6.13 subsector erase (sse) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 6.14 sector erase (se) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 6.15 bulk erase (be) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 6.16 deep power-down (dp) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 6.17 release from deep power-down (rdp) . . . . . . . . . . . . . . . . . . . . . . . . . . 43 7 power-up and power-down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 8 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 9 initial delivery state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 10 maximum rating . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 11 dc and ac parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 12 package mechanical . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 13 part numbering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 14 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
list of tables m25pe80 4/61 list of tables table 1. signal names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 table 2. software protection truth table (sectors 0 to 15, 64-kbyte granularity) . . . . . . . . . . . . . . . 16 table 3. not for new design: ty7 process only, software protection scheme truth table (sectors 0 and 15) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 6 table 4. protected area sizes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 table 5. memory organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 table 6. instruction set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 table 7. read identification (rdid) data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 table 8. status register format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 table 9. protection modes (t9hx process only, see important note on page 6 ) . . . . . . . . . . . . . . . 27 table 10. lock registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 table 11. not for new design: lock registers for the m25pe80 in t7y process (see important note on page 6 ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 table 12. lock register in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 table 13. not for new design: lock registers for the m25pe80 in t7y process . . . . . . . . . . . . . . . . 37 table 14. power-up timing and vwi threshold. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 5 table 15. device status after a reset low pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 6 table 16. absolute maximum ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 table 17. operating conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 18. ac measurement conditions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 19. capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 table 20. dc characteristics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 table 21. ac characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 table 22. ac characteristics (t9hx (0.11m) process, see important note on page 6 ) . . . . . . . . . . 51 table 23. reset conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 24. timings after a reset low pulse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 table 25. vfqfpn8 (mlp8) 8-lead very thin dual flat package no lead, 6 5 mm, package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 table 26. so8 wide ? 8 lead plastic small outline, 20 8 mils body width, mechanical data. . . . . . . . 56 table 27. so8n - 8 lead plastic small outline, 150 mils body width, package mechanical data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 table 28. ordering information scheme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 table 29. document revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
m25pe80 list of figures 5/61 list of figures figure 1. logic diagram - previous t7y process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 2. logic diagram - new t9hx process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 3. vfqfpn and so connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 4. bus master and memory devices on the spi bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 figure 5. spi modes supported . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 6. block diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 figure 7. write enable (wren) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 8. write disable (wrdi) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 figure 9. read identification (rdid) instruction sequence and data-out sequence . . . . . . . . . . . . . 23 figure 10. read status register (rdsr) instruction sequence and data-out sequence . . . . . . . . . . 25 figure 11. write status register (wrsr) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 figure 12. read data bytes (read) instruction sequence and data-out sequence . . . . . . . . . . . . . . 28 figure 13. read data bytes at higher speed (fast_read) instruction sequence and data-out sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 figure 14. read lock register (rdlr) instruction sequence and data-out sequence. . . . . . . . . . . . 31 figure 15. page write (pw) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 3 figure 16. page program (pp) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 figure 17. write to lock register (wrlr) instruction sequence. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 figure 18. page erase (pe) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 8 figure 19. subsector erase (sse) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 figure 20. sector erase (se) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 0 figure 21. bulk erase (be) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 figure 22. deep power-down (dp) instruction sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 figure 23. release from deep power-down (rdp) instruction sequence . . . . . . . . . . . . . . . . . . . . . . 43 figure 24. power-up timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 figure 25. ac measurement i/o waveform . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 figure 26. serial input timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 27. top sector lock (t7y process) or write protect (t9hx process) setup and hold timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 figure 28. output timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 figure 29. reset ac waveforms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 figure 30. vfqfpn8 (mlp8) 8-lead very thin dual flat package no lead, 6 5 mm, package outline. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 figure 31. so8 wide ? 8 lead plastic small outline, 208 mils body width, package outline . . . . . . . . 56 figure 32. so8n - 8 lead plastic small outline, 150 mils body width, package outline . . . . . . . . . . . 57
description m25pe80 6/61 1 description the m25pe80 is an 8 mbit (1 mb 8) serial paged flash memory accessed by a high speed spi-compatible bus. the memory can be written or programmed 1 to 256 bytes at a time, using the page write or page program instruction. the page write instruction consists of an integrated page erase cycle followed by a page program cycle. the memory is organized as 16 sectors that are further divided up into 16 subsectors each (256 subsectors in total). each sector cont ains 256 pages and each subsector contains 16 pages. each page is 256 bytes wide. thus, the whole memory can be viewed as consisting of 4096 pages, or 1 048 576 bytes the memory can be erased a page at a time, using the page erase instruction, a subsector at a time, using the subsector erase instruction, a sector at a time, using the sector erase instruction, or as a whole, using the bulk erase instruction. the memory can be write protected by either hardware or software using a mix of volatile and non-volatile protection features, depending on the application needs. the protection granularity is of 64 kbytes (sector granularity). in order to meet environmental requirements, st offers the m25pe80 in ecopack? packages. ecopack? packages are lead-free and rohs compliant. ecopack is an st trademark. ecopack specifications are available at: www.st.com . important note this datasheet details the functionality of the m25pe80 devices, based on the previous t7y process or based on the current t9hx process. delivery of parts in t9hx process starts from june 2007. what are the changes? the m25pe80 in t9hx process offers the following additional features: the whole memory array is partitioned into 4-kbyte subsectors two new instructions: write status register (wrsr) and 4-kbyte subsector erase (sse) status register: 4 bits can be written (bp0, bp1, bp2, srwd) wp input (pin 3): write protection limits are extended, depending on the value of the bp0, bp1, bp2, srwd bits. the wp write protection remains the same if bits (bp2, bp1, bp0) are set to (0, 0, 1). smaller die size allowing assembly into an so8n package suppressed feature: the write protection (defined by the wl and ld lock bits) of the 4-kbyte subsectors in the top and bottom sectors is no longer offered. for more details please refer to pcnmpg062148.
m25pe80 description 7/61 figure 3. vfqfpn and so connections 1. there is an exposed central pad on the underside of the mlp8 package. this is pulled, internally, to v ss , and must not be allowed to be connected to any other voltage or signal line on the pcb. 2. see package mechanical section for package dimensions , and how to identify pin-1. figure 1. logic diagram - previous t7y process figure 2. logic diagram - new t9hx process table 1. signal names signal name function direction c serial clock input d serial data input q serial data output s chip select input tsl or w (1) 1. in the previous t7y process the pin is a top sector lock input whereas in the new t9hx process, the pin is a write protect input (see figure 1 and figure 2 ). top sector lock or write protect input reset reset input v cc supply voltage input v ss ground reset ai10779 s v cc m25pe80 v ss tsl q c d reset ai13557 s v cc m25pe80 v ss w q c d 1 ai10780b 2 3 4 8 7 6 5 d v ss c reset q sv cc tsl or w m25pe80
signal description m25pe80 8/61 2 signal description 2.1 serial data output (q) this output signal is used to transfer data serially out of the device. data is shifted out on the falling edge of serial clock (c). 2.2 serial data input (d) this input signal is used to transfer data serially into the device. it receives instructions, addresses, and the data to be programmed. values are latched on the rising edge of serial clock (c). 2.3 serial clock (c) this input signal provides the timing of the serial interface. instructions, addresses, or data present at serial data input (d) are latched on the rising edge of serial clock (c). data on serial data output (q) ch anges after the fa lling edge of serial clock (c). 2.4 chip select (s ) when this input signal is high, the device is deselected and serial data output (q) is at high impedance. unless an internal read, progra m, erase or write cycle is in progress, the device will be in the standby mode (this is not the deep po wer-down mode). driving chip select (s ) low selects the device, placing it in the active power mode. after power-up, a falling edge on chip select (s ) is required prior to the start of any instruction. 2.5 reset (reset ) the reset (reset ) input provides a hardware reset for the memory. when reset (reset ) is driven high, the memory is in the normal operating mode. when reset (reset ) is driven low, the memory will enter th e reset mode. in this mode, the output is high impedance. driving reset (reset ) low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost.
m25pe80 signal description 9/61 2.6 write protect (w ) or top sector lock (tsl ) the write protect function is available in the t9hx process only (see important note on page 6 ). the write protect (w ) input is used to freeze the size of the area of memory that is protected against write, program and erase instructions (as specified by the values in the bp2, bp1 and bp0 bits of the status register. see section 6.4: read status register (rdsr) for a description of these bits). the top sector lock function is available in the t7y process only (see important note on page 6 ) . the input signal sets the device in the hardware protected mode, when top sector lock (tsl ) is connected to v ss , causing the top 256 pages (upper addresses) of the memory to become read-only (protected from write, program and erase operations). when top sector lock (tsl ) is connected to v cc , the top 256 pages of memory behave like the other pages of memory. 2.7 v cc supply voltage v cc is the supply voltage. 2.8 v ss ground v ss is the reference for the v cc supply voltage.
spi modes m25pe80 10/61 3 spi modes these devices can be driven by a microcontroller with its spi peripheral running in either of the two following modes: cpol=0, cpha=0 cpol=1, cpha=1 for these two modes, input data is latched in on the rising edge of serial clock (c), and output data is available from th e falling edge of serial clock (c). the difference between the two modes, as shown in figure 5 , is the clock polarity when the bus master is in stand-by mode and not transferring data: c remains at 0 for (cpol=0, cpha=0) c remains at 1 for (cpol=1, cpha=1) figure 4. bus master and memory devices on the spi bus 1. the top sector lock (tsl ) signal in the t7y process, or the write protect (w ) signal in the t9hx process, should be driven, high or low as appropriate. figure 4 shows an example of three devices connected to an mcu, on an spi bus. only one device is selected at a time, so only one device drives the serial data output (q) line at a time, the other devices are high impedance. resistors r (represented in figure 4 ) ensure that the m25pe80 is not selected if the bus master leaves the s line in the high impedance state. as the bus master may enter a state where all inputs/outputs are in high impedance at the same time (for example, when the bus master is reset), the clock line (c) must be connected to an external pull-down resistor so that, when all inputs/outputs become high impedance, the s line is pulled high while the c line is pulled low (thus ensuring that s and c do not become high at the same time, and so, that the t shch requirement is met). the typical value of r is 100 k ? , assuming that the time constant r*c p (c p = parasitic capacitance of the bus line) is shorter than the time during which the bus master leaves the spi bus in high impedance. ai13558 spi bus master spi memory device sdo sdi sck cqd s spi memory device cqd s spi memory device cqd s cs3 cs2 cs1 spi interface with (cpol, cpha) = (0, 0) or (1, 1) w or tsl hold w or tsl hold w or tsl hold rrr v cc v cc v cc v cc v ss v ss v ss v ss r
m25pe80 spi modes 11/61 example: c p = 50 pf, that is r*c p = 5 s <=> the application must ensure that the bus master never leaves the spi bus in the high impedance state for a time period shorter than 5s. figure 5. spi modes supported ai01438b c msb cpha d 0 1 cpol 0 1 q c msb
operating features m25pe80 12/61 4 operating features 4.1 sharing the overhead of modifying data to write or program one (or more) data bytes, two instructions are required: write enable (wren), which is one byte, and a page write (pw) or page program (pp) sequence, which consists of four bytes plus data. this is followed by the internal cycle (of duration t pw or t pp ). to share this overhead, the page write (pw) or page program (pp) instruction allows up to 256 bytes to be programmed (changing bits from 1 to 0) or written (changing bits to 0 or 1) at a time, provided that they lie in consecutive addresses on the same page of memory. 4.2 an easy way to modify data the page write (pw) instruction provides a convenient way of modifying data (up to 256 contiguous bytes at a time), and simply requires the start address, and the new data in the instruction sequence. the page write (pw) instruction is entered by driving chip select (s ) low, and then transmitting the instruction byte, three address bytes (a23-a0) and at least one data byte, and then driving chip select (s ) high. while chip select (s ) is being held low, the data bytes are written to the data buffer, starting at the address given in the third address byte (a7-a0). when chip select (s ) is driven high, the write cycle starts. the remaining, unchanged, bytes of the data buffer are automatically loaded with the values of the corresponding bytes of the addressed memory page. the addressed memory page then automatically put into an erase cycle. finally, the addressed memory page is programmed with the contents of the data buffer. all of this buffer management is handled internally, and is transparent to the user. the user is given the facility of being able to alter the co ntents of the memory on a byte-by-byte basis. for optimized timings, it is recommended to use the page write (pw) instruction to write all consecutive targeted bytes in a single sequence versus using several page write (pw) sequences with each containing only a few bytes (see page write (pw) section and table 21: ac characteristics ).
m25pe80 operating features 13/61 4.3 a fast way to modify data the page program (pp) instruction provides a fast way of modifying data (up to 256 contiguous bytes at a time), provided that it only involves resetting bits to 0 that had previously been set to 1. this might be: when the designer is programming the device for the first time when the designer knows that the page has already been erased by an earlier page erase (pe), subsector erase ( sse), sector erase (se) or bu lk erase (be) instruction. this is useful, for example, when storing a fast stream of data, having first performed the erase cycle when time was available when the designer knows that the only changes involve resetting bits to 0 that are still set to 1. when this method is possible, it ha s the additional advantage of minimizing the number of unnecessary erase operations, and the extra stress incurred by each page for optimized timings, it is recommended to use the page program (pp) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (pp) sequences with each containing only a few bytes (see page program (pp) section and table 21: ac characteristics ). 4.4 polling during a write, program or erase cycle a further improvement in the write, program or erase time can be achieved by not waiting for the worst case delay (t pw , t pp , t pe , t sse , t se or t be ). the write in progress (wip) bit is provided in the status register so that the application pr ogram can monitor its value, polling it to establish when the pr evious cycle is complete. 4.5 reset an internal power-on reset circuit helps protect against inadvertent data writes. addition protection is provided by driving reset (reset ) low during the power-on process, and only driving it high when v cc has reached the correct voltage level, v cc (min). 4.6 active power, standby powe r and deep power-down modes when chip select (s ) is low, the device is selected, and in the active power mode. when chip select (s ) is high, the device is deselected, but could remain in the active power mode until all internal cycles have completed (program, erase, write). the device then goes in to the standby power mode. the device consumption drops to i cc1 . the deep power-down mode is entered when the specific instruction (the deep power- down (dp) instruction) is executed. the device consumption drops further to i cc2 . when in this mode, only the release from deep power-down instruction is accepted. all other instructions are ignored. the device remain s in the deep power- down mode until the release from deep power-down instruction is executed. this can be used as an extra software protection mechanism, when the device is not in active use, to protect the device from inadvertent write, program or erase instructions.
operating features m25pe80 14/61 4.7 status register the status register contains a number of status and control bits that can be read or set (as appropriate) by using specific instructions. see section 6.4: read status register (rdsr) for a detailed description of the status register bits. 4.8 protection modes the environments where non-volatile memory devices are used can be very noisy. no spi device can operate correctly in the presence of excessive noise. to help combat this, the m25pe80 features the following data protection mechanisms: 4.8.1 protocol-rel ated protections power on reset and an internal timer (t puw ) can provide protection against inadvertent changes while the power supply is outside the operating specification. program, erase and write instructions are checked that they consist of a number of clock pulses that is a multiple of eight, before they are accepted for execution. all instructions that modify data must be preceded by a write enable (wren) instruction to set the write enable latch (wel) bit. this bit is returned to its reset state by the following events: ?power-up ? reset (reset ) driven low ? write disable (wrdi) instruction completion ? page write (pw) instruction completion ? page program (pp) instruction completion ? write to lock register (w rlr) instruction completion ? page erase (pe) instruction completion ? subsector erase (sse) instruction completion ? sector erase (se) instruction completion ? bulk erase (be) instruction completion the reset (reset ) signal can be driven low to freeze and reset the internal logic. for the specific cases of program and wr ite cycles, the designer should refer to section 6.5: write status register (wrsr) , section 6.9: page write (pw) , section 6.10: page program (pp) , section 6.12: page erase (pe) , section 6.14: sector erase (se) and section 6.13: subsector erase (sse) , and to table 15: device status after a reset low pulse . in addition to the low power consumption feature, the deep power-down mode offers extra software protection from inadvertent write, program and erase instructions while the device is not in active use.
m25pe80 operating features 15/61 4.8.2 specific hardware and software protections the m25pe80 features a hardware protected mode, hpm, and two software protected modes, spm1 and spm2, that can be combined to protect the memory array as required. they are described below: hpm hpm in t7y process (see important note on page 6 ) : the hardware protected mode (hpm) is entered when top sector lock (tsl ) is driven low, causing the top 256 pages of memory to become read-only. when top sector lock (tsl ) is driven high, the top 256 pages of memory behave like the other pages of memory and the protection depends on the block protect bits (see spm2 below). hpm in t9hx process (see important note on page 6 ) : the hardware protected mode (hpm) is used to write-protect the non-volatile bits of the status register (that is, the block protect bits, bp2, bp1 and bp0, and the status register write disable bit, srwd). hpm is entered by driving the write protect (w ) signal low with the srwd bit set to high. this additional protection allows the status register to be hardware-protected. (see also section 6.4.4: srwd bit ) spm1 and spm2 the first software protected mode (spm1) is managed by specific lock registers assigned to each 64-kbyte sector. the lock registers can be read and written using the read lock register (rdlr) and write to lock register (wrlr) instructions. in each lock register two bits control the protection of each sector: the write lock bit and the lock down bit. ? write lock bit: the write lock bit determines whether the contents of the sector can be modified (using the write, program or erase instructions). when the write lock bit is set, ?1?, the sector is write protected ? any operations that attempt to change the data in the sector will fail. when the write lock bi t is reset to ?0?, t he sector is not write protected by the lock register, and may be modified. ? lock down bit: the lock down bit provides a mechanism for protecting software data from simple hacking and malicious attack. when the lock down bit is set, ?1?, further modification to the write lock and lock down bits cannot be performed. a reset, or power-up, is required before changes to these bits can be made. when the lock down bit is reset, ?0?, the write lock and lock down bits can be changed. the write lock bit and the lock down bit are volatile and their value is reset to ?0? after a power-down or a reset. the definition of the lock register bits is given in table 11: not for new design: lock registers for the m25pe80 in t7y process (see important note on page 6) .
operating features m25pe80 16/61 table 2. software protection truth table (sectors 0 to 15, 64-kbyte granularity) sector lock register protection status lock down bit write lock bit 0 0 sector unprotected from program/erase/writ e operations, protection status reversible 0 1 sector protected from program/erase/writ e operations, protection status reversible 10 sector unprotected from prog ram/erase/write operations, sector protection status cannot be c hanged except by a reset or power-up. 11 sector protected from prog ram/erase/write operations, sector protection status cannot be c hanged except by a reset or power-up. table 3. not for new design: ty7 process only, software protection scheme truth table (sectors 0 and 15) (1) (2) (3) sector lock register subsector lock register protection status lock down bit write lock bit lock down bit write lock bit 0 0 00 current subsector unprotected from program/erase/write operations, current subsector protection status reversible 01 current subsector protected from program/erase/write operations, current subsector protection status reversible. 10 current subsector unprotected from pr ogram/erase/write operations, current subsector protection status cannot be c hanged except by a reset or power-up. 11 current subsector protected from prog ram/erase/write operations, current subsector protection status cannot be c hanged except by a reset or power-up. 1 01 all subsectors protected from program/erase/write operations, current subsector protection status reversible 11 all subsectors protected from program/erase/write operations, current subsector protection status cannot be c hanged except by a reset or power-up. 1 0 10 current subsector unprotected from program/erase/write operations, all subsectors protection status cannot be c hanged except by a reset or power-up 11 current subsector protected from pr ogram/erase/write operations, all subsectors protection status cannot be c hanged except by a reset or power-up 111 all subsectors protected with their prot ection status cannot be changed except by a reset or power-up. 1. all other bit combinations are not-applicable. 2. for more details, refer to the description of the write to lock register (wrlr) instruction. 3. see important note on page 6 for differences between devices produced in t7y and t9hx processes.
m25pe80 operating features 17/61 the second software protected mode (spm2) uses the block protect (bp2, bp1, bp0, see section 6.4.3 ) bits to allow part of the memory to be configured as read-only. table 4. protected area sizes status register content memory content bp2 bit bp1 bit bp0 bit protected area unprotected area 0 0 0 none all sectors (1) (sixteen sectors: 0 to 15) 1. the device is ready to accept a bulk erase instructi on if, and only if, all block protect (bp2, bp1, bp0) are 0. 0 0 1 upper sixteenth (sector 15) lower fifteen-sixteenths (fifteen sectors: 0 to 14) 0 1 0 upper eighth (two sectors: 14 and 15) lower seven-eighths (fourteen sectors: 0 to 13) 0 1 1 upper quarter (four sectors: 12 to 15) lower three-quarters (twelve sectors: 0 to 11) 1 0 0 upper half (eight sectors: 8 to 15) lower half (eight sectors: 0 to 7) 1 0 1 all sectors (sixteen sectors: 0 to 15) none 1 1 0 all sectors (sixteen sectors: 0 to 15) none 1 1 1 all sectors (sixteen sectors: 0 to 15) none
memory organization m25pe80 18/61 5 memory organization the memory is organized as: 4096 pages (256 bytes each). 1,048,576 bytes (8 bits each) 16 sectors (512 kbits, 65536 bytes each) 256 subsectors (32 kbits, 4096 bytes each) each page can be individually: programmed (bits are programmed from 1 to 0) erased (bits are erased from 0 to 1) written (bits are changed to either 0 or 1) the device is page, sector or bulk erasable (bits are erased from 0 to 1). table 5. memory organization sector subsector address range sector subsector address range 15 255 ff000h fffffh 8 143 8f000h 8ffffh ... ... ... ... ... ... 240 f0000h f0fffh 128 80000h 80fffh 14 239 ef000h effffh 7 127 7f000h 7ffffh ... ... ... ... ... ... 224 e0000h e0fffh 112 70000h 70fffh 13 223 df000h dffffh 6 111 6f000h 6ffffh ... ... ... ... ... ... 208 d0000h d0fffh 96 60000h 60fffh 12 207 cf000h cffffh 5 95 5f000h 5ffffh ... ... ... ... ... ... 192 c0000h c0fffh 80 50000h 50fffh 11 191 bf000h bffffh 4 79 4f000h 4ffffh ... ... ... ... ... ... 176 b0000h b0fffh 64 40000h 40fffh 10 175 af000h affffh 3 63 3f000h 3ffffh ... ... ... 160 a0000h a0fffh 48 30000h 30fffh 9 159 9f000h 9ffffh 2 47 2f000h 2ffffh ... ... ... ... ... ... 144 90000h 90fffh 32 20000h 20fffh
m25pe80 memory organization 19/61 figure 6. block diagram 1. these features (in gray) are onl y available in the t7y process. 1 31 1f000h 1ffffh 0 15 0f000h 0ffffh ... ... ... ... ... ... 16 10000h 10fffh 4 04000h 04fffh 3 03000h 03fffh 2 02000h 02fffh 1 01000h 01fffh 0 00000h 00fffh table 5. memory organization (continued) sector subsector address range sector subsector address range ai13560 s tsl or control logic high voltage generator i/o shift register address register and counter 256 byte data buffer 256 bytes (page size) x decoder y decoder c d q status register 00000h fffffh 000ffh reset f0000h top 256 pages can be made read-only by using the tsl pin (1) whole memory array can be made read-only on a 64 kbyte or 4 kbyte (1) basis through the lock registers w
instructions m25pe80 20/61 6 instructions all instructions, addresses and data are shifted in and out of the device, most significant bit first. serial data input (d) is sampled on the first rising edge of serial clock (c) after chip select (s ) is driven low. then, the one-byte instruction code must be shifted in to the device, most significant bit first, on serial data input (d), each bit being latched on the rising edges of serial clock (c). the instruction set is listed in ta bl e 6 . every instruction sequence starts with a one-byte instruction code. depending on the instruction, this might be followed by address bytes, or by data bytes, or by both or none. in the case of a read data bytes (read), read data bytes at higher speed (fast_read), read identification (rdid), read status register (rdsr), or read lock register (rdlr) instruction, the shifted-in instruction sequence is followed by a data-out sequence. chip select (s ) can be driven high after any bit of the data-out sequence is being shifted out. in the case of a page write (pw), page program (pp), write to lock register (wrlr), page erase (pe), subsector erase (sse), se ctor erase (se), bulk erase (be), write enable (wren), write disable (wrdi), write status register (wrsr), deep power-down (dp) or release from deep power-down (rdp) instruction, chip select (s ) must be driven high exactly at a byte boundary, otherwise the instruction is rejected, and is not executed. that is, chip select (s ) must driven high when the number of clock pulses after chip select (s ) being driven low is an exact multiple of eight. all attempts to access the memory array duri ng a write cycle, program cycle or erase cycle are ignored, and the internal write cycle, program cycle or erase cycle continues unaffected.
m25pe80 instructions 21/61 6.1 write enable (wren) the write enable (wren) instruction ( figure 7 ) sets the write enable latch (wel) bit. the write enable latch (wel) bit must be set prior to every page write (pw), page program (pp), page erase (pe), sector erase (se), bulk erase (be) and write to lock register (wrlr) instructions. the write enable (wren) instruction is entered by drivin g chip select (s ) low, sending the instruction code, and then driving chip select (s ) high. table 6. instruction set instruction description one-byte instruction code address bytes dummy bytes data bytes wren write enable 0000 0110 06h 0 0 0 wrdi write disable 0000 0100 04h 0 0 0 rdid read identification 1001 1111 9fh 0 0 1 to 3 rdsr read status register 0000 0101 05h 0 0 1 to wrlr write to lock register 1110 0101 e5h 3 0 1 wrsr (1) 1. instruction available only in the t9hx process (see important note on page 6 ). write status register 0000 0001 01h 0 0 1 rdlr read lock register 1110 1000 e8h 3 0 1 read read data bytes 0000 0011 03h 3 0 1 to fast_read read data bytes at higher speed 0000 1011 0bh 3 1 1 to pw page write 0000 1010 0ah 3 0 1 to 256 pp page program 0000 0010 02h 3 0 1 to 256 pe page erase 1101 1011 dbh 3 0 0 sse (1) subsector erase 0010 0000 20h 3 0 0 se sector erase 1101 1000 d8h 3 0 0 be bulk erase 1100 0111 c7h 0 0 0 dp deep power-down 1011 1001 b9h 0 0 0 rdp release from deep power-down 1010 1011 abh 0 0 0
instructions m25pe80 22/61 figure 7. write enable (wren) instruction sequence 6.2 write disable (wrdi) the write disable (wrdi) instruction ( figure 8 ) resets the write enable latch (wel) bit. the write disable (wrdi) instruction is entered by driving chip select (s ) low, sending the instruction code, and then driving chip select (s ) high. the write enable latch (wel) bit is reset under the following conditions: power-up write disable (wrdi) instruction completion page write (pw) instruction completion page program (pp) instruction completion write to lock register (w rlr) instruction completion page erase (pe) instruction completion sector erase (se) instruction completion bulk erase (be) instruction completion figure 8. write disable (wrdi) instruction sequence c d ai02281e s q 2 1 34567 high impedance 0 instruction c d ai03750d s q 2 1 34567 high impedance 0 instruction
m25pe80 instructions 23/61 6.3 read identification (rdid) the read identification (rdid) in struction allows the 8-bit manufacturer identification to be read, followed by two bytes of device identification. the manufacturer identification is assigned by jedec, and has the value 20h for stmicroelectronics. the device identification is assigned by the device manufacturer, and indicates the memory type in the first byte (80h), and the memory capacity of the device in the second byte (14h). any read identification (rdid) instruction while an erase or pr ogram cycle is in progress, is not decoded, and has no effect on the cycle that is in progress. the device is first selected by driving chip select (s ) low. then, the 8-bit instruction code for the instruction is shifted in. this is follow ed by the 24-bit device identification, stored in the memory, being shifted out on serial data output (q), each bit being shifted out during the falling edge of serial clock (c). the instruction sequence is shown in figure 9 . the read identification (rdid) instruction is terminated by dr iving chip select (s ) high at any time during data output. when chip select (s ) is driven high, the device is put in the stand-by power mode. once in the stand-by power mode, the device waits to be selected, so that it can receive, decode and execute instructions. figure 9. read identification (rdid) instruction sequence and data-out sequence table 7. read identification (rdid) data-out sequence manufacturer identification device identification memory type memory capacity 20h 80h 14h c d s 2 1 3456789101112131415 instruction 0 ai06809b q manufacturer identification high impedance msb 15 1413 3210 device identification msb 16 17 18 28 29 30 31
instructions m25pe80 24/61 6.4 read status register (rdsr) the read status register (rdsr) instruction allows the status register to be read. the status register may be read at any time, even while a program, erase or write cycle is in progress. when one of these cycles is in progre ss, it is recommended to check the write in progress (wip) bit before sending a new instruction to the device. it is also possible to read the status register continuously, as shown in figure 10 . the status bits of the status register are as follows: 6.4.1 wip bit the write in progress (wip) bit indicates whether the memory is busy with a write, program or erase cycle. when set to 1, such a cycle is in progress, when reset to 0 no such cycle is in progress. 6.4.2 wel bit the write enable latch (wel) bit indicates the status of the internal write enable latch. when set to 1 the internal write enable latch is set, when set to 0 the internal write enable latch is reset and no write, program or erase instruction is accepted. 6.4.3 bp2, bp1, bp0 bits the block protect (bp2, bp1, bp0) bits are non-volatile. they define the size of the area to be software protected against program and erase instructions. these bits are written with the write status register (wrsr) instruction. when one or more of the block protect (bp2, bp1, bp0) bits is set to 1, the relevant memory area (as defined in ta bl e 4 ) becomes protected against page program (pp), sector erase (se) and subsector erase (sse) instructions. the block protect (bp2, bp1, bp0) bits can be written provided that the hardware protected mode has not been set. the bulk erase (be) instruction is executed if, and only if: all block protect (bp2 , bp1, bp0) bits are 0 the lock register protection bits are not all set (?1?) 6.4.4 srwd bit the status register write disable (srwd) bit is operated in conjunction with the write protect (w ) signal. when the status register write disable (srwd) bit is set to 1, and write protect (w ) is driven low, the non-volatile bits of the status register (srwd, bp2, bp1, bp0) become read-only bits. in such a state, as the write status register (wrsr) instruction is no longer accepted for execution, the definition of the size of the write protected area cannot be further modified. table 8. status register format (1) (2) (3) 1. wel (write enable latch) and wip ((write in program) are volatile read-only bits (wel is set and reset by specific instructions; wip is au tomatically set and reset by the internal logic of the device). 2. srwd = status register write protec t bit; bp0, bp1, bp2 = block protect bits. 3. the bp bits and the srwd bit exist only in the t9hx process. b7 b0 srwd 0 0 bp2 bp1 bp0 wel wip
m25pe80 instructions 25/61 figure 10. read status register (rdsr) instruction sequence and data-out sequence c d s 2 1 3456789101112131415 instruction 0 ai02031e q 7 6543210 status register out high impedance msb 7 6543210 status register out msb 7
instructions m25pe80 26/61 6.5 write status register (wrsr) the write status register (wrsr) instruction a llows new values to be written to the status register. note: the status register bpi and srwd bits are available in the m25pe80 in the t9hx process only. see important note on page 6 for more details. before the write status register (wrsr) instruction can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded and executed, the device sets the write enable latch (wel). the write status register (wrsr) instruct ion is entered by driving chip select (s ) low, followed by the instruction code and the data byte on serial data input (d). the instruction sequence is shown in figure 11 . the write status register (wrsr) instruction has no effect on b6, b5, b1 and b0 of the status register. b6 and b5 are always read as 0. chip select (s ) must be driven high after the eighth bit of the data byte has been latched in. if not, the write status register (wrsr) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed write stat us register cycle (whose duration is t w ) is initiated. while the write status register cycle is in progress , the status register may still be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed write status register cycle, and is 0 when it is completed. when the cycle is completed, the write enable latch (wel) is reset. the write status register (wrsr) instruction allows the user to change the values of the block protect (bp2, bp1, bp0) bits, to define the size of the area that is to be treated as read-only, as defined in ta b l e 4 . the write status register (wrsr) instruction also allows the user to set or reset the status register write disable (srwd) bit in accordance with the write protect (w ) signal (see section 6.4.4 ). if a write status register (wrsr) in struction is interr upted by a reset low pulse, the internal cycle of the write status register operation (whose duration is t w ) is first completed (provided that the supply voltage v cc remains within the operating range). after that the device enters the reset mode (see also table 15: device status after a reset low pulse and table 24: timings after a reset low pulse ). figure 11. write status register (wrsr) instruction sequence c d ai02282d s q 2 1 3456789101112131415 high impedance instruction status register in 0 765432 0 1 msb
m25pe80 instructions 27/61 the protection features of the device are summarized in ta bl e 9 . when the status register write disable (srwd) bit of the status register is 0 (its initial delivery state), it is possible to write to the status register provided that the write enable latch (wel) bit has previously been set by a write enable (wren) in struction, regardless of the whether write protect (w ) is driven high or low. when the status register write disable (srwd) bit of the status register is set to 1, two cases need to be considered, depending on the state of write protect (w ): if write protect (w ) is driven high, it is possible to write to the status register provided that the write enable latch (wel) bit has previously been set by a write enable (wren) instruction. if write protect (w ) is driven low, it is not possible to write to the status register even if the write enable latch (wel) bit has previously been set by a write enable (wren) instruction. (attempts to write to the status register are rejected, and are not accepted for execution). as a consequence, all the data bytes in the memory area that are software protected (spm2) by the block pr otect (bp2, bp1, bp0) bi ts of the status register, are also hardware protected against data modification. regardless of the order of the two events, the hardware protected mode (hpm) can be entered: by setting the status register write disabl e (srwd) bit after driving write protect (w ) low or by driving write protect (w ) low after setting the status register write disable (srwd) bit. the only way to exit the hardware protected mode (hpm) once entered is to pull write protect (w ) high. if write protect (w ) is permanently tied high, the hardware protected mode (hpm) can never be activated, and only the software protected mode (spm2), using the block protect (bp2, bp1, bp0) bits of the status register, can be used. table 9. protection modes (t9hx process only, see important note on page 6 ) w signal srwd bit mode write protection of the status register memory content protected area (1) 1. as defined by the values in the block protect (bp2 , bp1, bp0) bits of the status register, as shown in table 4 . unprotected area (1) 10 second software protected (spm2) status register is writable (if the wren instruction has set the wel bit) the values in the srwd, bp2, bp1 and bp0 bits can be changed protected against page program, sector erase and bulk erase ready to accept page program and sector erase instructions 00 11 01 hardware protected (hpm) status register is hardware write protected the values in the srwd, bp2, bp1 and bp0 bits cannot be changed protected against page program, sector erase and bulk erase ready to accept page program and sector erase instructions
instructions m25pe80 28/61 6.6 read data bytes (read) the device is first selected by driving chip select (s ) low. the instruction code for the read data bytes (read) instruction is followed by a 3-byte address (a23-a0), each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, is shifted out on serial data output (q), each bit being shifted out, at a maximum frequency f r , during the falling edge of serial clock (c). the instruction sequence is shown in figure 12 . the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes (read) instruction. when the highest address is reached, the address counter rolls over to 000000h, allowing the read sequence to be continued indefinitely. the read data bytes (read) instruction is terminated by driving chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read data bytes (read) instruction, while an erase, program or write cycl e is in progress, is rejected without having any effects on the cycle that is in progress. figure 12. read data bytes (read) instruction sequence and data-out sequence 1. address bits a23 to a20 are don?t care. c d ai03748d s q 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 76543 1 7 0 high impedance data out 1 instruction 24-bit address 0 msb msb 2 39 data out 2
m25pe80 instructions 29/61 6.7 read data bytes at higher speed (fast_read) the device is first selected by driving chip select (s ) low. the instruction code for the read data bytes at higher speed (fas t_read) instruction is follow ed by a 3-byte address (a23- a0) and a dummy byte, each bit being latched-in during the rising edge of serial clock (c). then the memory contents, at that address, is shifted out on serial data output (q), each bit being shifted out, at a maximum frequency f c , during the falling edge of serial clock (c). the instruction sequence is shown in figure 13 . the first byte addressed can be at any location. the address is automatically incremented to the next higher address after each byte of data is shifted out. the whole memory can, therefore, be read with a single read data bytes at higher speed (fast_read) instruction. when the highest address is reached, the address counter rolls over to 000000h, allowing the read sequence to be continued indefinitely. the read data bytes at higher speed (fast_rea d) instruction is terminated by driving chip select (s ) high. chip select (s ) can be driven high at any time during data output. any read data bytes at higher speed (fast_read) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 13. read data bytes at higher speed (fast_read) instruction sequence and data-out sequence 1. address bits a23 to a20 are don?t care. c d ai04006 s q 23 2 1 345678910 28293031 2221 3210 high impedance instruction 24 bit address 0 c d s q 32 33 34 36 37 38 39 40 41 42 43 44 45 46 765432 0 1 data out 1 dummy byte msb 7 6543210 data out 2 msb msb 7 47 765432 0 1 35
instructions m25pe80 30/61 6.8 read lock register (rdlr) the device is first selected by driving chip select (s ) low. the instruction code for the read lock register (rdlr) instruction is followed by a 3-byte address (a23-a0) pointing to any location inside the concerned sector (or subs ector). each address bit is latched-in during the rising edge of serial clock (c). then the value of the lock register is shifted out on serial data output (q), each bit being shifted out, at a maximum frequency f c , during the falling edge of serial clock (c). the instruction sequence is shown in figure 14 . the read lock register (rdl r) instruction is terminated by driving chip select (s ) high at any time during data output. any read lock register (rdlr) instruction, wh ile an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. table 10. lock registers bit bit name value function b7-b4 reserved b1 sector lock down ?1? the write lock and lock down bits cannot be changed. once a ?1? is written to the lock down bit it cannot be cleared to ?0?, except by a reset or power-up. ?0? the write lock and lock down bits can be changed by writing new values to them. (default value). b0 sector write lock ?1? write, program and erase operations in this sector will not be executed. the memory co ntents will not be changed. ?0? write, program and erase operations in this sector are executed and will modify the sector contents. (default value).
m25pe80 instructions 31/61 figure 14. read lock register (rdlr) instruction sequence and data-out sequence table 11. not for new design: lock registers for the m25pe80 in t7y process (see important note on page 6 ) bit bit name value function b7-b4 reserved b3 subsector lock down (1) 1. valid only for sector 0 and sector 15 (the value ?0? is returned for other sectors). ?1? this functionality must not be used for new designs, as the m25pe80 delivered from feb 2007 will not offer this functionality. the write lock and lock down bits cannot be changed. once a ?1? is written to the lock down bit it cannot be cleared to ?0? except by a reset or power-up. ?0? this functionality must not be used for new designs, as the m25pe80 delivered from feb 2007 will not offer this functionality. the write lock and lock down bits can be changed by writing new values to them. (default value). b2 subsector write lock (1) ?1? this functionality must not be used for new designs, as the m25pe80 delivered from feb 2007 will not offer this functionality. write, program and erase operations in this subsector will not be executed. the memory co ntents will not be changed. ?0? this functionality must not be used for new designs, as the m25pe80 delivered from feb 2007 will not offer this functionality. write, program and erase operations in this subsector are executed and will modify the subsec tor contents. (default value). b1 sector lock down ?1? the write lock and lock down bits cannot be changed. once a ?1? is written to the lock down bit it cannot be cleared to ?0?, except by a reset or power-up. ?0? the write lock and lock down bits can be changed by writing new values to them. (default value). b0 sector write lock ?1? write, program and erase operations in this sector will not be executed. the memory co ntents will not be changed. ?0? write, program and erase operations in this sector are executed and will modify the sector contents. (default value). c d ai10783 s q 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 76543 1 0 high impedance lock register out instruction 24-bit address 0 msb msb 2 39
instructions m25pe80 32/61 6.9 page write (pw) the page write (pw) instruction allows bytes to be written in the memory. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page write (pw) instruction is entered by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (d). the rest of the page remains unchanged if no power failure occurs during this write cycle. the page write (pw) instruction performs a page erase cycle even if only one byte is updated. if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data exceeding the addressed page boundary roll over, and are written from the start address of the same page (the one whose 8 least significant address bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 15 . if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be written correctly within the same page. if less than 256 data bytes are sent to device, they are correctly written at the requested addresses without having any effects on the other bytes of the same page. for optimized timings, it is recommended to use the page write (pw) instruction to write all consecutive targeted bytes in a single sequence versus using several page write (pw) sequences with each containing only a few bytes. chip select (s ) must be driven high after the eighth bit of the last data byte has been latched in, otherwise the page write (pw) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed page write cycle (whose duration is t pw ) is initiated. while the page write cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed page write cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a page write (pw) instruction applied to a page that is hardware or software protected is not executed. any page write (pw) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. if reset (reset ) is driven low while a page write (pw) cycle is in progress, the page write cycle is interrupted and the programmed data may be corrupted (see table 15: device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters .
m25pe80 instructions 33/61 figure 15. page write (pw) instruction sequence 1. address bits a23 to a20 are don?t care 2. 1 n 256 c d ai04045 s 42 41 43 44 45 46 47 48 49 50 52 53 54 55 40 c d s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 data byte 1 39 51 765432 0 1 data byte 2 765432 0 1 data byte 3 data byte n 765432 0 1 msb msb msb msb msb
instructions m25pe80 34/61 6.10 page program (pp) the page program (pp) instruction allows bytes to be programmed in the memory (changing bits from 1 to 0, only). before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page program (pp) instruction is entered by driving chip select (s ) low, followed by the instruction code, three address bytes and at least one data byte on serial data input (d). if the 8 least significant address bits (a7-a0) are not all zero, all transmitted data exceeding the addressed page boundary roll over, and are programmed from the start address of the same page (the one whose 8 least significant address bits (a7-a0) are all zero). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 16 . if more than 256 bytes are sent to the device, previously latched data are discarded and the last 256 data bytes are guaranteed to be programmed correctly within the same page. if less than 256 data bytes are sent to device, they are correctly programmed at the requested addresses without having any effects on the other bytes of the same page. for optimized timings, it is recommended to use the page program (pp) instruction to program all consecutive targeted bytes in a single sequence versus using several page program (pp) sequences with each containing only a few bytes (see ta b l e 2 1 : ac characteristics ). chip select (s ) must be driven high after the eighth bit of the last data byte has been latched in, otherwise the page program (pp) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed page program cycle (whose duration is t pp ) is initiated. while the page program cy cle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed page progra m cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a page program (pp) instruction applied to a page that is hardware or software protected is not executed. any page program (pp) instruction, while an eras e, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. if reset (reset ) is driven low while a page program (pp) cycle is in progress, the page program cycle is interrupted and the programmed data may be corrupted (see table 15: device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters .
m25pe80 instructions 35/61 figure 16. page program (pp) instruction sequence 1. address bits a23 to a20 are don?t care 2. 1 n 256 c d ai04044 s 42 41 43 44 45 46 47 48 49 50 52 53 54 55 40 c d s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 data byte 1 39 51 765432 0 1 data byte 2 765432 0 1 data byte 3 data byte n 765432 0 1 msb msb msb msb msb
instructions m25pe80 36/61 6.11 write to lock register (wrlr) the write to lock register (wrlr) instruct ion allows bits to be changed in the lock registers. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the write to lock register (wrlr) instruct ion is entered by driving chip select (s ) low, followed by the instruction code, three address bytes (pointing to any address in the targeted sector and one data byte on serial data input (d). the instruction sequence is shown in figure 17 . chip select (s ) must be driven high after the eighth bit of the data byte has been latched in, otherwise the write to lock register (wrlr) instruction is not executed. lock register bits are volatile, and therefore do not require time to be written. when the write to lock register (wrlr) instruction has been successfully executed, the write enable latch (wel) bit is reset after a delay time less than t shsl minimum value. any write to lock register (wrlr) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 17. write to lock register (wrlr) instruction sequence table 12. lock register in (1) 1. the table rows in gray are true for produ cts processed in the t7y process only (see important note on page 6 ). sector bit value all sectors in t9hx process all sectors except for sector 0 and sector 15 in t7y process b7-b2 ?0? b1 sector lock down bit value (refer to ta bl e 1 1 ) b0 sector write lock bit value (refer to ta bl e 1 1 ) ai10784 c d s 23 2 1 345678910 2829303132333435 2221 3210 36 37 38 instruction 24-bit address 0 765432 0 1 lock register in 39 msb msb
m25pe80 instructions 37/61 for products processed in the t7y process only (see important note ): protection always prevails: when the lock down bit of sector 0 or sector 15 is set to ?1?. ? if the lock down bit of sector 0 is ?1?, all the lock down bits of the subsectors in sector 0 are forced to ?1?. ? if the lock down bit of sector 15 is ?1?, all the lock down bits of the subsectors in sector 15 are forced to ?1? when the write lock bit of sector 0 or sector 15 is set to ?1?. ? if the write lock bit of sector 0 is ?1?, the write lock bits of all the subsectors in sector 0 are forced to ?1? (even if their lock down bits are set to ?1?). ? if the write lock bit of sector 15 is ?1?, the write lock bits of all the subsectors in sector 15 are forced to ?1? (even if their lock down bits are set to ?1?). when the write lock bit of sector 0 or sector 15 is reset to ?0?. ? if the write lock bit of sector 0 is ?0?, all the subsectors in sector 0 whose lock down bit is ?0? have their write lock bits forced to ?0?. ? if the write lock bit of sector 15 is ?0?, all the subsectors in sector 15 whose lock down bit is ?0? have their write lock bits forced to ?0?. when the write lock bit of any sector or subsector is set to ?1?, any instruction that may modify the contents of this se ctor or subsector will be reje cted (including sector erase and bulk erase). note that when the wrlr instruction acts both on write lock (wl) and lock down (ld) bits, it firstly programs the wl bit, and then the ld bit. as an example, if a subsector lock register settings are xxxx0101b and a wrlr instruction is issued with a lock register in data set to 00000010b: 1. the sector wl bit is first set to ?0? (and all subsectors that are not locked-down will have their wl bit reset to ?0?). 2. the sector ld bit and all subsectors ld bits are set to ?1?. in this case, the final value of the above subsector lock register is xxxx1010b. table 13. not for new design: lock registers for the m25pe80 in t7y process (1) 1. the table rows in gray are true for pr oducts processed in the t7y process only. sector bit value all sectors in t9hx process all sectors except for sector 0 and sector 15 in t7y process b7-b2 ?0? b1 sector lock down bit value (refer to ta bl e 1 1 ) b0 sector write lock bit value (refer to ta bl e 1 1 ) sector 0, sector 15 in t7y process b7 ?1? only b3 and b2 are taken into account to modify the subsector write lock and lock down bits (2) 2. b6-b4 and b1-b0 must be reset to ?0?. ?0? only b1 and b0 are taken into account to modify the sector write lock and lock down bits (3) 3. b6-b2 must be reset to ?0?. b3 subsector lock down bit value (refer to ta bl e 1 1 ) b2 subsector write lock bit value (refer to ta b l e 1 1 ) b1 sector lock down bit value (refer to ta bl e 1 1 ) b0 sector write lock bit value (refer to ta bl e 1 1 )
instructions m25pe80 38/61 6.12 page erase (pe) the page erase (pe) instruction sets to 1 (ffh) all bits inside the chosen page. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the page erase (pe) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address bytes on serial data input (d). any address inside the page is a valid address for the page er ase (pe) instructio n. chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 18 . chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the page erase (pe) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed page erase cycle (whose duration is t pe ) is initiated. while the page erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self- timed page erase cycle, and is 0 when it is co mpleted. at some uns pecified time before the cycle is complete, the write enable latch (wel) bit is reset. a page erase (pe) instruction applied to a page that is hardware or software protected is not executed. any page erase (pe) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. if reset (reset ) is driven low while a page erase (pe) cycle is in progress, the page erase cycle is interrupted and the programmed data may be corrupted (see table 15: device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters . figure 18. page erase (pe) instruction sequence 1. address bits a23 to a20 are don?t care. 24 bit address c d ai04046 s 2 1 3456789 293031 instruction 0 23 22 2 0 1 msb
m25pe80 instructions 39/61 6.13 subsector erase (sse) note: the subsector erase (sse) instruction is decoded only in the m25pe80 in the t9hx process (see important note on page 6 ). the subsector erase (sse) instruction sets to 1 (ffh) all bits inside the chosen subsector. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the subsector erase (se) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address bytes on serial data input (d). any address inside the subsector (see ta b l e 5 ) is a valid address for the subsector erase (se) instruction. chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 20 . chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the subsector erase (se) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed subsector erase cycle (whose duration is t sse ) is initiated. while the subsector erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed subsector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a subsector erase (sse) instruction applied to a subsector that contains a page that is hardware or software protected is not executed. any subsector erase (sse) inst ruction, while an erase, pr ogram or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. if reset (reset ) is driven low while a subsector er ase (sse) cycle is in progress, the subsector erase cycle is interrupted and data may not be erased correctly (see ta b l e 1 5 : device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters . figure 19. subs ector erase (sse) instruction sequence 1. address bits a23 to a20 are don?t care. 24 bit address c d ai12356 s 2 1 3456789 293031 instruction 0 23 22 20 1 msb
instructions m25pe80 40/61 6.14 sector erase (se) the sector erase (se) instruction sets to 1 (ffh) all bits inside the chosen sector. before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the sector erase (se) instruction is entered by driving chip select (s ) low, followed by the instruction code, and three address bytes on serial data input (d). any address inside the sector (see ta b l e 5 ) is a valid address for the sector erase (se) instruction. chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 20 . chip select (s ) must be driven high after the eighth bit of the last address byte has been latched in, otherwise the sector erase (se) instruction is not executed. as soon as chip select (s ) is driven high, the self-timed sector erase cycle (whose duration is t se ) is initiated. while the sector erase cycle is in pr ogress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed sector erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is complete, the write enable latch (wel) bit is reset. a sector erase (se) instruction applied to a sector that contains a page that is hardware or software protected is not executed. any sector erase (se) instructio n, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. if reset (reset ) is driven low while a sector erase (se) cycle is in progress, the sector erase cycle is interrupted and data may not be erased (see table 15: device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters . figure 20. sector erase (se) instruction sequence 1. address bits a23 to a20 are don?t care. 24 bit address c d ai03751d s 2 1 3456789 293031 instruction 0 23 22 2 0 1 msb
m25pe80 instructions 41/61 6.15 bulk erase (be) the bulk erase (be) instruction sets all bits to 1 (ffh). before it can be accepted, a write enable (wren) instruction must previously have been executed. after the write enable (wren) instruction has been decoded, the device sets the write enable latch (wel). the bulk erase (be) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial da ta input (d). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 21 . chip select (s ) must be driven high after the eighth bit of the instruction code has been latched in, otherwise the bulk erase instruction is not executed. as soon as chip select (s ) is driven high, the self-timed bulk erase cycle (whose duration is t be ) is initiate d. while the bulk erase cycle is in progress, the status register may be read to check the value of the write in progress (wip) bit. the write in progress (wip) bit is 1 during the self-timed bulk erase cycle, and is 0 when it is completed. at some unspecified time before the cycle is completed, the write enable latch (wel) bit is reset. any bulk erase (be) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. a bulk erase (be) instruction is ignored if at least one sector or subsector is write-protected (hardware or software protection). if reset (reset ) is driven low while a bulk erase (be) cycle is in progress, the bulk erase cycle is interrupted and data may not be erased correctly (see table 15: device status after a reset low pulse ). on reset going low, the device enters the reset mode and a time of t rhsl is then required before the device can be re-selected by driving chip select (s ) low. for the value of t rhsl see table 24: timings after a reset low pulse in section 11: dc and ac parameters . figure 21. bulk erase (be) instruction sequence c d ai03752d s 2 1 34567 0 instruction
instructions m25pe80 42/61 6.16 deep power-down (dp) executing the deep power-down (dp) instruction is the only way to put the device in the lowest consumption mode (the deep power-down mode). it can also be used as an extra software protection mechanism, while the device is not in active use, since in this mode, the device ignores all write, program and erase instructions. driving chip select (s ) high deselects the device, and puts the device in the standby mode (if there is no internal cycle currently in prog ress). but this mode is not the deep power- down mode. the deep power-down mode can only be entered by executing the deep power-down (dp) instruction, subsequently reducing the standby current (from i cc1 to i cc2 , as specified in ta b l e 2 0 ). once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp) instruction. issuing the release from deep power-down (rdp) instruction will cause the device to exit the deep power-down mode. the deep power-down mode automatically stops at power-down, and the device always powers-up in the standby mode. the deep power-down (dp) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial data input (d). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 22 . chip select (s ) must be driven high after the eighth bit of the instruction code has been latched in, otherwise the deep power-down (dp) instruction is not executed. as soon as chip select (s ) is driven high, it requires a delay of t dp before the supply current is reduced to i cc2 and the deep power-down mode is entered. any deep power-down (dp) instruction, while an erase, program or write cycle is in progress, is rejected without having any effects on the cycle that is in progress. figure 22. deep power-down (dp) instruction sequence c d ai03753d s 2 1 34567 0 t dp deep power-down mode stand-by mode instruction
m25pe80 instructions 43/61 6.17 release from deep power-down (rdp) once the device has entered the deep power-down mode, all instructions are ignored except the release from deep power-down (rdp ) instruction. executing this instruction takes the device out of the deep power-down mode. the release from deep power-down (rdp) instruction is entered by driving chip select (s ) low, followed by the instruction code on serial data input (d). chip select (s ) must be driven low for the entire duration of the sequence. the instruction sequence is shown in figure 23 . the release from deep power-do wn (rdp) instruction is termin ated by driving chip select (s ) high. sending additional clock cycles on serial clock (c), while chip select (s ) is driven low, cause the instruction to be rejected, and not executed. after chip select (s ) has been driven high, followed by a delay, t rdp , the device is put in the standby mode. chip select (s ) must remain high at least until this period is over. the device waits to be selected, so that it can receive, decode and execute instructions. any release from deep power-down (rdp) instru ction, while an erase, program or write cycle is in progress, is reject ed without having any effects on the cycle that is in progress. figure 23. release from deep power-down (rdp) instruction sequence c d ai06807 s 2 1 34567 0 t rdp stand-by mode deep power-down mode q high impedance instruction
power-up and power-down m25pe80 44/61 7 power-up and power-down at power-up and power-down, the device must not be selected (that is chip select (s ) must follow the voltage applied on v cc ) until v cc reaches the correct value: v cc (min) at power-up, and then for a further delay of t vsl v ss at power-down usually a simple pull-up resi stor on chip select (s ) can be used to ensure safe and proper power-up and power-down. to avoid data corruption and inadvertent write operations during power-up, a power on reset (por) circuit is included. the logic inside the device is held reset while v cc is less than the power on reset (por) threshold voltage, v wi ? all operations are disabled, and the device does not resp ond to any instruction. moreover, the device ignores all write enable (wren), page write (pw), page program (pp), page erase (pe), sector erase (se), bulk erase (be) and write to lock register (wrlr) instructions until a time delay of t puw has elapsed after the moment that v cc rises above the v wi threshold. however, the correct operation of the device is not guaranteed if, by this time, v cc is still below v cc (min). no write, program or erase instructions should be sent until the later of: t puw after v cc passed the v wi threshold t vsl after v cc passed the v cc (min) level these values are specified in ta bl e 1 4 . if the delay, t vsl , has elapsed, after v cc has risen above v cc (min), the device can be selected for read instructions even if the t puw delay is not yet fully elapsed. as an extra protection, the reset (reset ) signal could be driven low for the whole duration of the power-up and power-down phases. at power-up, the device is in the following state: the device is in the standby mode (not the deep power-down mode). the write enable latch (wel) bit is reset. normal precautions must be taken for su pply rail decoupling, to stabilize the v cc supply. each device in a system should have the v cc rail decoupled by a suitable capacitor close to the package pins. (generally, this capacitor is of the order of 0.1f). at power-down, when v cc drops from the operating voltage, to below the power on reset (por) threshold voltage, v wi , all operations are disabled and the device does not respond to any instruction. (the designer needs to be aware that if a power-down occurs while a write, program or erase cycle is in progress, some data corruption can result.)
m25pe80 power-up and power-down 45/61 figure 24. power-up timing table 14. power-up timing and v wi threshold symbol parameter min. max. unit t vsl (1) 1. these parameters are char acterized only, over the te mperature range ?40c to +85c. v cc (min) to s low 30 s t puw (1) time delay before the first write, program or erase instruction 1 10 ms v wi (1) write inhibit voltage 1.5 2.5 v v cc ai04009c v cc (min) v wi reset state of the device chip selection not allowed program, erase and write commands are rejected by the device tvsl tpuw time read access allowed device fully accessible v cc (max)
reset m25pe80 46/61 8 reset driving reset (reset ) low while an internal operation is in progress will affect this operation (write, program or erase cycle) and data may be lost. all the lock bits are reset to 0 after a reset low pulse. ta bl e 1 5 shows the status of the device after a reset low pulse. table 15. device status after a reset low pulse conditions: reset pulse occurred lock bits status internal logic status addressed data while decoding an instruction (1) : wren, wrdi, rdid, rdsr, read, rdlr, fast_read, wrlr, pw, pp, pe, se, be, sse, dp, rdp 1. s remains low while reset is low. reset to 0 same as por not significant under completion of an erase or program cycle of a pw, pp, pe, sse, se, be operation reset to 0 equivalent to por addressed data could be modified under completion of a wrsr operation reset to 0 equivalent to por (after t w ) write is correctly completed device deselected (s high) and in standby mode reset to 0 same as por not significant
m25pe80 initial delivery state 47/61 9 initial delivery state the device is delivered with the memory arra y erased: all bits are set to 1 (each byte contains ffh). all usable status register bits are 0. 10 maximum rating stressing the device above the rating listed in the absolute maximum ratings table may cause permanent damage to the device. these are stress ratings only and operation of the device at these or any other conditions above those indicated in the operating sections of this specification is not implied. exposure to absolute maximum rating conditions for extended periods may affect device reliability. refer also to the stmicroelectronics sure program and other relevant quality documents. table 16. absolute maximum ratings symbol parameter min. max. unit t stg storage temperature ?65 150 c t lead lead temperature during soldering see (1) 1. compliant with jedec std j-std- 020c (for small body, snpb or pb assembly), the st ecopack? 7191395 specification, and the european directive on re strictions on hazardous substances (rohs) 2002/95/eu. v io input and output voltage (with respect to ground) ?0.6 v cc + 0.6 v v cc supply voltage ?0.6 4.0 v v esd electrostatic discharge voltage (human body model) (2) 2. jedec std jesd22-a114a (c1 = 100 pf, r1 = 1500 ? , r2 = 500 ? ). ?2000 2000 v
dc and ac parameters m25pe80 48/61 11 dc and ac parameters this section summarizes the operating and measurement conditions, and the dc and ac characteristics of the device. the parameters in the dc and ac characteristic tables that follow are derived from tests performed under the measurement conditions summarized in the relevant tables. designers should check that the operating conditions in their circuit match the measurement conditions when relying on the quoted parameters. 1. output hi-z is defined as the point where data out is no longer driven. figure 25. ac measurement i/o waveform 1. sampled only, not 100% tested, at t a =25c and a frequency of 20 mhz. table 17. operating conditions symbol parameter min. max. unit v cc supply voltage 2.7 3.6 v t a ambient operating temperature ?40 85 c table 18. ac measurement conditions symbol parameter min. max. unit c l load capacitance 30 pf input rise and fall times 5 ns input pulse voltages 0.2v cc to 0.8v cc v input and output timing reference voltages 0.3v cc to 0.7v cc v table 19. capacitance symbol parameter test condition min . max . unit c out output capacitance (q) v out = 0 v 8 pf c in input capacitance (other pins) v in = 0 v 6 pf ai00825b 0.8v cc 0.2v cc 0.7v cc 0.3v cc input and output timing reference levels input levels
m25pe80 dc and ac parameters 49/61 table 20. dc characteristics symbol parameter test condition (in addition to those in table 17 ) min. max. unit i li input leakage current 2 a i lo output leakage current 2 a i cc1 standby current (standby and reset modes) s = v cc , v in = v ss or v cc 50 a i cc2 deep power-down current s = v cc , v in = v ss or v cc 10 a i cc3 operating current (fast_read) c = 0.1v cc / 0.9v cc at 50 mhz, q = open 8ma i cc4 operating current (pw) s = v cc 15 ma i cc5 operating current (se) s = v cc 15 ma v il input low voltage ? 0.5 0.3v cc v v ih input high voltage 0.7v cc v cc +0.4 v v ol output low voltage i ol = 1.6 ma 0.4 v v oh output high voltage i oh = ?100 a v cc ?0.2 v
dc and ac parameters m25pe80 50/61 table 21. ac characteristics test conditions specified in table 17 and table 18 symbol alt. parameter min. typ. max. unit f c f c clock frequency for the following instructions: fast_read, rdlr, pw, pp, wrlr, pe, se, dp, rdp, wren, wrdi, rdsr d.c. 50 mhz f r clock frequency for read instructions d.c. 20 mhz t ch (1) 1. t ch + t cl must be greater than or equal to 1/ f c t clh clock high time 9 ns t cl (1) t cll clock low time 9 ns clock slew rate (2) (peak to peak) 2. value guaranteed by characterizati on, not 100% tested in production. 0.1 v/ns t slch t css s active setup time (relative to c) 5 ns t chsl s not active hold time (relative to c) 5 ns t dvch t dsu data in setup time 2 ns t chdx t dh data in hold time 5 ns t chsh s active hold time (relative to c) 5 ns t shch s not active setup time (relative to c) 5 ns t shsl t csh s deselect time 100 ns t shqz (2) t dis output disable time 8 ns t clqv t v clock low to output valid 8 ns t clqx t ho output hold time 0 ns t thsl top sector lock setup time 50 ns t shtl top sector lock hold time 100 ns t dp (2) s to deep power-down 3 s t rdp (2) s high to standby mode 30 s t pw (3) 3. when using pp and pw instructions to update consec utive bytes, optimized timings are obtained with one sequence including all the bytes versus se veral sequences of only a few bytes (1 n 256). page write cycle time (256 bytes) 11 25 ms page write cycle time (n bytes) 10.1 + n * 0.9/256 t pp (3) page program cycle time (256 bytes) 1.35 5ms page program cycle time (n bytes) 0.45 + n * 0.9/256 t pe page erase cycle time 10 20 ms t se sector erase cycle time 1 5 s t be bulk erase cycle time 10 60 s
m25pe80 dc and ac parameters 51/61 table 22. ac characteristics ( t9hx (0.11m) process, see important note on page 6 ) (1) test conditions specified in table 17 and table 18 symbol alt. parameter min. typ. max. unit f c f c clock frequency for the following instructions: fast_read, rdlr, pw, pp, wrlr, pe, se, sse, dp, rdp, wren, wrdi, rdsr, wrsr d.c. 50 mhz f r clock frequency for read instructions d.c. 33 mhz t ch (2) t clh clock high time 9 ns t cl (2) t cll clock low time 9 ns clock slew rate 2 (peak to peak) 0.1 v/ns t slch t css s active setup time (relative to c) 5 ns t chsl s not active hold time (relative to c) 5 ns t dvch t dsu data in setup time 2 ns t chdx t dh data in hold time 5 ns t chsh s active hold time (relative to c) 5 ns t shch s not active setup time (relative to c) 5 ns t shsl t csh s deselect time 100 ns t shqz (3) t dis output disable time 8 ns t clqv t v clock low to output valid 8 ns t clqx t ho output hold time 0 ns t whsl (4) write protect setup time 50 ns t shwl (4) write protect hold time 100 ns t dp (3) s to deep power-down 3 s t rdp (3) s high to standby mode 30 s t w write status register cycle time 3 15 ms t pw (5) page write cycle time (256 bytes) 11 23 ms t pp (3) page program cycle time (256 bytes) 0.8 3ms page program cycle time (n bytes) int(n/8) 0.025 (6) t pe page erase cycle time 10 20 ms t se sector erase cycle time 1 5 s t sse subsector erase cycle time 40 150 ms t be bulk erase cycle time 10 20 s 1. preliminary data. 2. t ch + t cl must be greater than or equal to 1/ f c 3. value guaranteed by characterization, not 100% tested in production. 4. only applicable as a constraint for a wr sr instruction when srwd is set at 1. 5. when using pp and pw instructions to update consecutive bytes, optimized timings are obtained with one sequence including all the bytes versus severa l sequences of only a few bytes (1 n 256). 6. int(a) corresponds to the upper integer part of a. e.g. int(12/8) = 2, int(32/8) = 4 int(15.3) =16.
dc and ac parameters m25pe80 52/61 figure 26. serial input timing figure 27. top sector lock (t7y process) or write protect (t9hx process) setup and hold timing 1. for the differences between devices produced in the two processes, see important note on page 6 . c d ai01447c s msb in q tdvch high impedance lsb in tslch tchdx tchcl tclch tshch tshsl tchsh tchsl c d s q high impedance tsl tthsl tshtl ai3559 twhsl tshwl w or
m25pe80 dc and ac parameters 53/61 figure 28. output timing c q ai01449e s lsb out d addr.lsb in tshqz tch tcl tqlqh tqhql tclqx tclqv tclqx tclqv
dc and ac parameters m25pe80 54/61 figure 29. reset ac waveforms table 23. reset conditions test conditions specified in ta b l e 1 7 and ta bl e 1 8 symbol alt. parameter conditions min. typ. max. unit t rlrh (1) 1. value guaranteed by characterizati on, not 100% tested in production. t rst reset pulse width 10 s t shrh chip select high to reset high chip should have been deselected before reset is de-asserted 10 ns table 24. timings after a reset low pulse (1)(2) 1. all the values are guaranteed by characte rization, and not 100% tested in production. 2. see table 15 for a description of the device status after a reset low pulse. test conditions specified in ta b l e 1 7 and ta bl e 1 8 symbol alt. parameter conditions: reset pulse occurred max. unit t rhsl t rec reset recovery time while decoding an instruction (3) : wren, wrdi, rdid, rdsr, read, rdlr, fast_read, wrlr, pw, pp, pe, se, be, sse, dp, rdp 3. s remains low while reset is low. 30 s under completion of an erase or program cycle of a pw, pp, pe, se, be operation 300 s under completion of an erase cycle of an sse operation 3ms under completion of a wrsr operation t w (see ta b l e 2 2 ) ms device deselected (s high) and in standby mode 0s ai06808 reset trlrh s trhsl tshrh
m25pe80 package mechanical 55/61 12 package mechanical figure 30. vfqfpn8 (mlp8) 8-lead very thin dual flat package no lead, 6 5 mm, package outline 1. drawing is not to scale. 2. the circle in the top view of the package indicates the position of pin 1. table 25. vfqfpn8 (mlp8) 8-lead very thin dual flat package no lead, 6 5 mm, package mechanical data symbol millimeters inches typ min max typ min max a 0.85 0.80 1.00 0.0335 0.0315 0.0394 a1 0.00 0.05 0.0000 0.0020 a2 0.65 0.0256 a3 0.20 0.0079 b 0.40 0.35 0.48 0.0157 0.0138 0.0189 d 6.00 0.2362 d1 5.75 0.2264 d2 3.40 3.20 3.60 0.1339 0.1260 0.1417 e 5.00 0.1969 e1 4.75 0.1870 e2 4.00 3.80 4.30 0.1575 0.1496 0.1693 e1.27? ?0.0500? ? r1 0.10 0.00 0.0039 0.0000 l 0.60 0.50 0.75 0.0236 0.0197 0.0295 12 12 aaa 0.15 0.0059 bbb 0.10 0.0039 ddd 0.05 0.0020 d e 70-me a2 a a3 a1 e1 d1 e e2 d2 l b r1 ddd bbb c cab aaa ca a b aaa cb m 0.10 ca 0.10 cb 2x
package mechanical m25pe80 56/61 figure 31. so8 wide ? 8 lead plastic small outline, 208 mils body width, package outline 1. drawing is not to scale. 2. the circle in the top view of the package indicates the position of pin 1. table 26. so8 wide ? 8 lead plastic small outline, 208 mils body width, mechanical data symbol millimeters inches typ min max typ min max a 2.50 0.098 a1 0.00 0.25 0.000 0.010 a2 1.51 2.00 0.059 0.079 b 0.40 0.35 0.51 0.016 0.014 0.020 c 0.20 0.10 0.35 0.008 0.004 0.014 cp 0.10 0.004 d 6.05 0.238 e 5.02 6.22 0.198 0.245 e1 7.62 8.89 0.300 0.350 e1.27? ?0.050?? k 0 10 0 10 l 0.50 0.80 0.020 0.031 n8 8 6l_me e n cp b e a2 d c l a1 k e1 a 1
m25pe80 package mechanical 57/61 figure 32. so8n - 8 lead plastic small outl ine, 150 mils body width, package outline 1. drawing is not to scale. table 27. so8n - 8 lead plastic small outline, 150 mils body width, package mechanical data symbol millimeters inches typ min max typ min max a1.750.069 a1 0.10 0.25 0.004 0.010 a2 1.25 0.049 b 0.28 0.48 0.011 0.019 c 0.17 0.23 0.007 0.009 ccc 0.10 0.004 d 4.90 4.80 5.00 0.193 0.189 0.197 e 6.00 5.80 6.20 0.236 0.228 0.244 e1 3.90 3.80 4.00 0.154 0.150 0.157 e1.27? ?0.050? ? h 0.25 0.50 0.010 0.020 k0808 l 0.40 1.27 0.016 0.050 l1 1.04 0.041 so-a e1 8 ccc b e a d c 1 e h x 45? a2 k 0.25 mm l l1 a1 gauge plane
part numbering m25pe80 58/61 13 part numbering note: for a list of available options (speed, package, etc.), for further information on any aspect of this device or when ordering parts operating at 50 mhz (0.11 m, process digit ?4?), please contact your nearest st sales office. the category of second-level interconnect is marked on the package and on the inner box label, in compliance with jedec standard jesd97. the maximum ratings related to soldering conditions are also marked on the inner box label. table 28. ordering information scheme example: m25pe80 ? v mp 6 t p device type m25pe = page-erasable serial flash memory device function 80 = 8 mbit (1 mb 8) operating voltage v = v cc = 2.7 to 3.6 v package mw = so8w (208 mils width) mn = so8n (150 mils width) (1) 1. package only available for products processed in the t9hx process. mp = vfqfpn8 6x5mm (mlp8) device grade 6 = industrial: device tested with standard test flow over ?40 to 85 c option blank = standard packing t = tape and reel packing plating technology p or g = ecopack? (rohs compliant)
m25pe80 revision history 59/61 14 revision history table 29. document revision history date version changes 24-nov-2004 0.1 first issue. 07-dec-2004 0.2 4kb software protection granularity extended to sector 15. 10-may-2005 0.3 so16w package removed, so8w package added. end timing line of t shqz modified in figure 28: output timing . plating technology options modified in table 28: ordering information scheme . minor text changes. ta b l e s 2 and 3 and figure 6 for details on the software protection scheme. 25-jul-2005 0.4 lock register programming sequence detailed in section write to lock register (wrlr) . sections an easy way to modify data , a fast way to modify data , page write (pw) and page program (pp) , updated to explain when using page write and page program instructions. bulk erase cycle time (t be ), page write cycle time (t pw ) and page program cycle time (t pp ) updated in table 21: ac characteristics . 24-aug-2005 1.0 version number updated for internet. no document changes. 25-aug-2005 2.0 document status updated to preliminary data. 22-nov-2005 3.0 page program cycle time, t pp , and page write cycle time (n bytes), t pw , updated in table 21: ac characteristics . i cc3 modified in table 20: dc characteristics . t slch , t chsl , t chsh , t shch and t be modified in table 21: ac characteristics . mlp package renamed. under plating technology , blank option removed. note 3 to ta b l e 2 1 modified. address modified in figure 6: block diagram . note added to figure 30 and figure 31 . document status promoted from prelim inary data to full datasheet status. 12-may-2006 4 don?t care address bits modified in note 1 (below figure 12 ), note 1 (below figure 13 ), note 1 (below figure 15 ), note 1 (below figure 16 ), note 1 (below figure 18 ) and note 1 (below figure 20 ). small text changes.
revision history m25pe80 60/61 30-nov-2006 5 important note on page 6 added. vfqfpn8 and so8w packages updated and so8n (mn) package added (see section 12: package mechanical ). figure 4: bus master and memory devices on the spi bus updated and explanatory paragraph added. reset signal behavior specified in section 6.8: read lock register (rdlr) , section 6.10: page program (pp) , section 6.12: page erase (pe) and section 6.14: sector erase (se) and section 6.15: bulk erase (be) . section 8: reset added, table 23: reset conditions modified and table 24: timings after a reset low pulse added. table 3: not for new design: ty7 process only, software protection scheme truth table (sectors 0 and 15) applies to t7y process only. software protection scheme figure removed. b3 and b2 apply to t7y process only in table 8: status register format , table 10: lock registers added, ta bl e 1 1 applies to t7y process only. table 12: lock register in added, ta bl e 1 3 applies to t7y process only. protection always prevails: applies to t7y process only. t lead added and v io max changed in table 16: absolute maximum ratings m25pe80 products processed in t9 hx process added to datasheet: ?wp pin replaces tsl (t7y technology), see section 2.6: write protect (w) or top sector lock (tsl) ? write status register (wrsr) and subsector erase (sse) instructions added for t9hx process ? subsector protection granularity remove d in t9hx process, still exists in t7y process ? table 5: memory organization updated to show subsectors ? status register bp2, bp1, bp0 bits and srwd bit added. 15-jan-2007 7 spm2 description and table 4: protected area sizes added in section 4.8: protection modes . vfqfpn8 package specifications updated (see ta b l e 2 5 and figure 30 ). small text changes. table 29. document revision history date version changes
m25pe80 61/61 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2007 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of M25PE80-VMN6P

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X